<!-- INCLUDE kb/kb_header.html -->
			<!-- IF S_SHOW_FORM -->
<div id="pagecontent">
<form method="get" action="{S_SEARCH_ACTION}">
<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<th colspan="4">{L_SEARCH_QUERY}</th>
	</tr>
	<tr>
		<td class="row1" colspan="2" width="50%"><b class="genmed">{L_SEARCH_KEYWORDS}:</b><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td>
		<td class="row2" colspan="2" valign="top"><input type="text" class="post" name="q" size="40" title="{L_SEARCH_KEYWORDS}" /><br /><input type="radio" class="radio" name="search_terms" value="all" checked="checked" /> {L_SEARCH_ALL_TERMS}<br /><input type="radio" class="radio" name="search_terms" value="any" /> {L_SEARCH_ANY_TERMS}</td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><b class="genmed">{L_SEARCH_AUTHOR}:</b><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td>
		<td class="row2" colspan="2" valign="middle"><input type="text" class="post" name="author" size="40" title="{L_SEARCH_AUTHOR}" /></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><b class="genmed">{L_SEARCH_CATS}:</b><br /><span class="genmed">{L_SEARCH_CATS_EXPLAIN}</span></td>
		<td class="row2" colspan="2"><select name="cat_ids[]" id="search_forum" multiple="multiple" size="8" title="{L_SEARCH_CATS}">{S_CAT_OPTIONS}</select></td>
	</tr>
	<tr>
		<th colspan="4">{L_SEARCH_OPTIONS}</th>
	</tr>
	<tr>
		<td class="row1" colspan="2"><b class="genmed">{L_SEARCH_WITHIN}:</b></td>
		<td class="row2" colspan="2">
			<!-- IF S_SEARCH_DESC --><input type="radio" name="search_in" class="radio" value="0" checked="checked" /> {L_SEARCH_TITLE_TEXT_DESC}<br /><!-- ENDIF -->
			<input type="radio" name="search_in" class="radio" value="1" /> {L_SEARCH_TITLE}<br />
			<input type="radio" name="search_in" class="radio" id="sf3" value="2" /> {L_SEARCH_TEXT}<br />
			<!-- IF S_SEARCH_DESC --><input type="radio" name="search_in" class="radio" value="3" /> {L_SEARCH_DESC}<!-- ENDIF -->
		</td>
	</tr>
	<tr>
		<td class="row1" width="25%"><b class="genmed">{L_RESULT_SORT}:</b></td>
		<td class="row2" width="25%"><select name="sort" title="{L_RESULT_SORT}">{S_SORT_OPTIONS}</select><br /><input type="radio" name="dir" class="radio" value="ASC" /> {L_SORT_ASCENDING}&nbsp;&nbsp;<input type="radio" name="dir" class="radio" value="DESC" checked="checked" /> {L_SORT_DESCENDING}</td>
		<td class="row1" width="25%"><b class="genmed">{L_RESULT_DAYS}:</b></td>
		<td class="row2" width="25%"><select name="time" title="{L_RESULT_DAYS}">{S_TIME_OPTIONS}</select><br /><input type="checkbox" name="etime" class="radio" value="1" /> {L_SORT_ETIME}</td>
	</tr>
	<tr>
		<td class="cat" colspan="4" align="center">{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="btnlite" />&nbsp;<input type="submit" name="submit" value="{L_SEARCH}" class="btnmain" /></td>
	</tr>
</table>
</form>
</div>
<!-- ELSE -->
<!-- IF SEARCH_MATCHES -->
<form method="post" action="{S_SEARCH_ACTION}">
	<table width="100%" cellspacing="1">
	<tr>
		<!-- IF SEARCH_WORDS -->
			<td class="genmed" align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">{L_SEARCHED_FOR}: <a href="{U_SEARCH_WORDS}"><b>{SEARCH_WORDS}</b></a></td>
		<!-- ENDIF -->
		<td class="genmed" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" value="" class="post" />&nbsp;<input class="btnlite" type="submit" name="submit" value="{L_GO}" /></td>
	</tr>
	</table>
</form>
<!-- ENDIF -->

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="7">&nbsp;</td>
</tr>
<tr>
	<th colspan="3">&nbsp;{L_ARTICLES}&nbsp;</th>
	<th>&nbsp;{L_AUTHOR}&nbsp;</th>
	<th>&nbsp;{L_COMMENTS}&nbsp;</th>
	<th>&nbsp;{L_VIEWS}&nbsp;</th>
	<th>&nbsp;{L_ARTICLE_TIME}&nbsp;</th>
</tr>
<!-- BEGIN articlerow -->
<tr>
	<td class="row1" width="25" align="center">{articlerow.ARTICLE_FOLDER_IMG}</td>
	<td class="row1" width="25" align="center"><!-- IF articlerow.ARTICLE_TYPE_IMG --><img src="{articlerow.ARTICLE_TYPE_IMG}" width="{articlerow.ARTICLE_TYPE_IMG_WIDTH}" height="{articlerow.ARTICLE_TYPE_IMG_HEIGHT}" alt="" /><!-- ENDIF --></td>
	<td class="row1">
		<a href="{articlerow.U_VIEW_ARTICLE}" class="topictitle">{articlerow.ARTICLE_TITLE}</a>
		<!-- IF articlerow.ARTICLE_UNAPPROVED --><a href="{articlerow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
		<br /><!-- IF articlerow.ARTICLE_DESC -->{articlerow.ARTICLE_DESC}<!-- ENDIF -->
	</td>
	<td class="row2" width="130" align="center"><p class="topicauthor">{articlerow.ARTICLE_AUTHOR_FULL}</p></td>
	<td class="row1" width="50" align="center"><p class="topicdetails">{articlerow.COMMENTS}</p></td>
	<td class="row2" width="50" align="center"><p class="topicdetails">{articlerow.VIEWS}</p></td>
	<td class="row1" width="140" align="center">
		<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
		<p class="topicdetails"><!-- IF articlerow.ATTACH_ICON_IMG -->{articlerow.ATTACH_ICON_IMG} <!-- ENDIF -->{articlerow.FIRST_POST_TIME}</p>
	</td>
</tr>	
<!-- BEGINELSE -->
<tr>
	<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen">{L_NO_SEARCH_MATCHES}</span></td>
</tr>
<!-- END articlerow -->	
<tr>
	<td class="cat" colspan="7" align="center">&nbsp;</td>
</tr>
</table>

<!-- IF SEARCH_MATCHES -->
	<table width="100%" cellspacing="1">
	<tr>
		<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
		<td class="gensmall" nowrap="nowrap">&nbsp;[ {SEARCH_MATCHES} ]&nbsp;</td>
		<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
	</tr>
	</table>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE kb/kb_footer.html -->